Search results
16 packages found
React generic memo & forwardRef
A set of small utilities for react that I needed at least twice in the past
This is a collection of typography components created off of the shadcn/ui website. The components are built using Tailwind CSS and React.
React higher-order component (HOC) for ref forwarding
React hook that permits to use the forwarded ref, or a fallback when it's not provided.
React CSS Themr
React createRef forwardRef polyfill
React `useImperativeHandle` for class component.
Utils to help with React 16.3+ forwardRef method
This is a type library to simplify "React.forwardRef" and "React.ForwardRefExoticComponent"
Automatically add displayName properties to your React project.
Polyfill for the proposed React.createRef and React.forwardRef API
Hook for React, helps you keep track of clicks on the INSIDE and OUTSIDE areas.
Automatically add displayName properties to your React project.
Automatically detects and sets displayName on memo and / or forwardRef wrapped React components
1. 使用forwardRef、useImperativeHandle使用ref暴露组件中的方法。 2. 组件库样式、样式编写的习惯。 3. ts+React编码的思考 4. 单元测试的重要性(虽然我真不想写....) 5. 复杂的组件数据流,参考redux的单向数据流进行编写,比如form组件